package com.jmcgg.freesky.common.dao;

import com.jmcgg.freesky.common.util.DateUtil;

public class FreeskyPOJO {
	protected int id;
	protected String idx;
	protected boolean isValid;

	protected String updatedAt;

	protected String updatedBy;

	private String version = "1.0";

	public FreeskyPOJO() {

		this.isValid = true;
		// FIXME: change the code
		this.updatedAt = DateUtil.getDate();
		// FIXME:
		this.updatedBy = "Jacky";
	}

	public int getId() {
		return id;
	}

	public String getIdx() {
		return idx;
	}

	public String getUpdatedAt() {
		return this.updatedAt;
	}

	public String getUpdatedBy() {
		return this.updatedBy;
	}

	public String getVersion() {
		return version;
	}

	public boolean isIsValid() {
		return this.isValid;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setIdx(String idx) {
		this.idx = idx;
	}

	public void setIsValid(boolean isValid) {
		this.isValid = isValid;
	}

	public void setUpdatedAt(String updatedAt) {
		this.updatedAt = updatedAt;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public void setVersion(String version) {
		this.version = version;
	}
}
